package com.demo.design.stractural.adapter.impl;

import com.demo.design.stractural.adapter.Driver;

public class DartzonDrive implements Driver {

    private DartzonAdapter dartzonAdapter;

    @Override
    public void drive() {
        if (dartzonAdapter == null) {
            dartzonAdapter = new DartzonAdapter();
        }
        dartzonAdapter.display();
    }
}
